<?php

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' )
?>
<script language="javascript" type="text/javascript">

function submitbutton( pressbutton, section ) {

	var form = document.adminForm;

	if ( pressbutton == 'default' ) {
	
		if ( ! confirm ("<?php echo JText::_('CONFIRM_RESTORE_DEFAULT_CONFIGURATION' )?>" ) ) {
			return;
		}
	}
	submitform(pressbutton);
	return;
}

</script>

<form action="index.php?option=com_letterman&controller=config" method="post"
	name="adminForm" id="adminForm">

<table cellspacing="0" cellpadding="0" border="0" width="100%" >
	<tr>
		<td valign="top" width="50%" style="padding-right:10px;">
			<fieldset><legend><?php echo JText::_('General parameters') ?></legend> 
			    <?php echo $this->form->render('general', 'general') ?>
			</fieldset>
		</td>
		
		<td valign="top" width="50%">
			<fieldset><legend><?php echo JText::_('Newsletter sending Methods') ?></legend> 
			    <?php echo $this->form->render('methods', 'methods') ?>
			</fieldset>
		</td>
	</tr>

</table>

<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="1" />

</form>